package expression;

/**
 * 表达式的定义
 */
public class ExpressionDefine {
    private String text;
    private String common;
    private int rank;

    public ExpressionDefine(){}

    public ExpressionDefine(ExpressionAn exa) {
        this.text = exa.text();
        this.common = exa.common();
        this.rank = exa.rank();
    }

    public ExpressionDefine(String text, String common, int rank) {
        this.text = text;
        this.common = common;
        this.rank = rank;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getCommon() {
        return common;
    }

    public void setCommon(String common) {
        this.common = common;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }
}
